﻿using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CPlatePrintSys.Infrastructure.Web {

    [Obsolete]
    public partial class ProcessSequenceSyncReq {
        /// <summary>
        /// 流用船号
        /// </summary>
        [JsonProperty("shipNo")]
        public string ShipNo { get; set; }        
    }
    [Obsolete]
    public partial class ProcessSequenceModel {
        /// <summary>
        /// 流用船号
        /// </summary>
        [JsonProperty("shipNo")]
        public string ShipNo { get; set; }

        /// <summary>
        /// 单元
        /// </summary>
        [JsonProperty("unit")]
        public string Unit { get; set; }

        /// <summary>
        /// LOT
        /// </summary>
        [JsonProperty("lot")]
        public string Lot { get; set; }

        /// <summary>
        /// 加工序列
        /// </summary>
        [JsonProperty("sequence")]
        public string Sequence { get; set; }

        /// <summary>
        /// 使用预定日
        /// </summary>
        [JsonProperty("scheduledDate")]
        public string ScheduledDate { get; set; }

        /// <summary>
        /// 序列备注
        /// </summary>
        [JsonProperty("remark")]
        public string Remark { get; set; }
    }

    [Obsolete]
    public partial class ProcessSequenceEditResp {
        [JsonProperty("code")]
        public long Code { get; set; }

        [JsonProperty("data")]
        public ProcessSequenceEditRespData Data { get; set; }
    }

    [Obsolete]
    public partial class ProcessSequenceEditRespData {
        [JsonProperty("id")]
        public string Id { get; set; }

        [JsonProperty("message")]
        public string Message { get; set; }
    }

    [Obsolete]
    public partial class ProcessSequenceCommonResp {
        [JsonProperty("code")]
        public long Code { get; set; }

        [JsonProperty("data")]
        public string Data { get; set; }
    }

    [Obsolete]
    public partial class QueryProcessSeqReq {        
        /// <summary>
        /// 流用船号
        /// </summary>
        [JsonProperty("ship_no", NullValueHandling = NullValueHandling.Ignore)]
        public string ShipNo { get; set; }

        /// <summary>
        /// UNIT
        /// </summary>
        [JsonProperty("unit", NullValueHandling = NullValueHandling.Ignore)]
        public string Unit { get; set; }

        /// <summary>
        /// LOT号
        /// </summary>
        [JsonProperty("lot", NullValueHandling = NullValueHandling.Ignore)]
        public string Lot { get; set; }

        /// <summary>
        /// 加工序列号
        /// </summary>
        [JsonProperty("sequence", NullValueHandling = NullValueHandling.Ignore)]
        public string Sequence { get; set; }

        /// <summary>
        /// 使用预定日
        /// </summary>
        [JsonProperty("scheduledDate", NullValueHandling = NullValueHandling.Ignore)]
        public string[] ScheduledDate { get; set; }

        /// <summary>
        /// 状态
        /// </summary>
        [JsonProperty("status", NullValueHandling = NullValueHandling.Ignore)]
        public string Status { get; set; }
    }

    [Obsolete]
    public partial class QueryProcessSeqResp {
        [JsonProperty("code")]
        public long Code { get; set; }

        [JsonProperty("data")]
        public QueryProcessSeqData Data { get; set; }

        [JsonProperty("message")]
        public string Message { get; set; }
    }

    [Obsolete]
    public partial class QueryProcessSeqData {
        [JsonProperty("page")]
        public long Page { get; set; }

        [JsonProperty("pageSize")]
        public long PageSize { get; set; }

        [JsonProperty("processing_sequence")]
        public ProcessingSequenceDetails[] ProcessingSequence { get; set; }

        [JsonProperty("total")]
        public long Total { get; set; }
    }

    [Obsolete]
    public partial class ProcessingSequenceDetails {
        [JsonProperty("createTime", NullValueHandling = NullValueHandling.Ignore)]
        public string CreateTime { get; set; }

        [JsonProperty("id", NullValueHandling = NullValueHandling.Ignore)]
        public long? Id { get; set; }

        [JsonProperty("lot", NullValueHandling = NullValueHandling.Ignore)]
        public string Lot { get; set; }

        [JsonProperty("remark", NullValueHandling = NullValueHandling.Ignore)]
        public string Remark { get; set; }

        [JsonProperty("scheduledDate", NullValueHandling = NullValueHandling.Ignore)]
        public string ScheduledDate { get; set; }

        [JsonProperty("sequence", NullValueHandling = NullValueHandling.Ignore)]
        public string Sequence { get; set; }

        [JsonProperty("shipNo", NullValueHandling = NullValueHandling.Ignore)]
        public string ShipNo { get; set; }

        [JsonProperty("source", NullValueHandling = NullValueHandling.Ignore)]
        public long? Source { get; set; }

        [JsonProperty("status", NullValueHandling = NullValueHandling.Ignore)]
        public long? Status { get; set; }

        [JsonProperty("unit", NullValueHandling = NullValueHandling.Ignore)]
        public string Unit { get; set; }
    }

    [Obsolete]
    public partial class QueryDrawings {
        /// <summary>
        /// LOT号,多个用","分隔
        /// </summary>
        [JsonProperty("lot", NullValueHandling = NullValueHandling.Ignore)]
        public string Lot { get; set; }

        /// <summary>
        /// 加工序列号,多个用","分隔
        /// </summary>
        [JsonProperty("sequence", NullValueHandling = NullValueHandling.Ignore)]
        public string Sequence { get; set; }

        /// <summary>
        /// 流用船号
        /// </summary>
        [JsonProperty("shipNo", NullValueHandling = NullValueHandling.Ignore)]
        public string ShipNo { get; set; }

        /// <summary>
        /// UNIT,多个用","分隔
        /// </summary>
        [JsonProperty("unit", NullValueHandling = NullValueHandling.Ignore)]
        public string Unit { get; set; }
    }
}
